package com.example.service;

import com.example.domain.dto.CommentDto;
import com.example.domain.dto.CommentQuery;
import com.example.domain.po.Comment;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.domain.response.PageResult;
import com.example.domain.vo.CommentVo;

/**
* @author adim
* @description 针对表【comment】的数据库操作Service
* @createDate 2025-06-16 01:54:44
*/
public interface CommentService extends IService<Comment> {


    /**
     * 添加评论
     * @param commentDto
     * @return
     */
    Integer addComment(CommentDto commentDto);

    /**
     * 分页查询评论
     * @param commentQuery
     * @return
     */
    PageResult<CommentVo> pageQuery(CommentQuery commentQuery);
}
